package com.caishi.lkx.distribution.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.caishi.lkx.distribution.model.DistributionWithdrawalSummary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DistributionWithdrawalSummaryMapper extends BaseMapper<DistributionWithdrawalSummary> {
    int batchSaveOrUpdate(List<DistributionWithdrawalSummary>  list);

    @Select("select * from distribution_withdrawal_summary where user_id = #{userId}")
    DistributionWithdrawalSummary selectById(String userId);
}
